package quick.portal.activity;

import android.view.View;
import android.widget.Button;
import quick.portal.R;
import quick.view.swipebacklayout.SwipeBackActivity;

public class BaseEditActivity extends SwipeBackActivity {
	
	protected Button btnBack;
	
    protected void setBackButton() {
		
		this.btnBack = (Button)this.findViewById(R.id.btnBack);
		this.btnBack.setVisibility(View.VISIBLE);
        this.btnBack.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View view) {
                finish();
            }
        });
	}
}
